Ext.define('Risk.view.rv.Pv2', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.pv2fieldSet',
    title: '通信线-雷击服务设施导致物理损害的概率',
    layout: 'vbox',
    autoShow: true,
    initComponent: function() {
        
        this.items = [{
               xtype: 'radiogroup',
                width:320,
                layout:{
                    type: 'table',
                    columns: 2
                },
                items:[{
                        boxLabel:'设备冲击耐压=1.5Kv',
                        name:'pvcom1',
                        labelWidth:150,
                        inputValue:0
                    },{
                        xtype:'combo',
                        itemId:'combo0',
                        name:'pvcom2',
                        store: 'rv.Pv1Store1',
                        width:180,
                        labelWidth:0,
                        queryMode: 'local',
                        displayField: 'name',
                        valueField: 'value',
                        forceSelection:true,
                        disabled:true
                    },{
                        boxLabel:'设备冲击耐压=2.5Kv',
                        name:'pvcom1',
                        labelWidth:150,
                        inputValue:1
                    },{
                        xtype:'combo',
                        name:'pvcom2',
                        itemId:'combo1',
                        store: 'rv.Pv1Store2',
                        width:180,
                        labelWidth:0,
                       // queryMode: 'local',
                        displayField: 'name',
                        valueField: 'value',
                        forceSelection:true,
                        disabled:true
                    },{
                        boxLabel:'设备冲击耐压=4Kv',
                        name:'pvcom1',
                        labelWidth:150,
                        inputValue:2
                    },{
                        xtype:'combo',
                        itemId:'combo2',
                        name:'pvcom2',
                        store: 'rv.Pv1Store3',
                        width:180,
                        labelWidth:0,
                      //  queryMode: 'local',
                        displayField: 'name',
                        valueField: 'value',
                        forceSelection:true,
                        disabled:true
                    },{
                        boxLabel:'设备冲击耐压=6Kv',
                        name:'pvcom1',
                        labelWidth:150,
                        inputValue:3
                    },{
                        xtype:'combo',
                        itemId:'combo3',
                        store: 'rv.Pv1Store4',
                        width:180,
                        name:'pvcom2',
                        labelWidth:0,
                      //  queryMode: 'local',
                        displayField: 'name',
                        valueField: 'value',
                        forceSelection:true,
                        disabled:true
                    }]
            },{
                readOnly : true,
                xtype:'textfield',
                style:'background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                itemId:'pv2',                  
                fieldLabel:'物理损害率【Pv】',
                labelWidth:150
            }];
        this.callParent(arguments);
    }
});